﻿
using System;
using PWMIS.DataMap.Entity;
//using NBF.IService;

namespace MBModel
{
   // [Serializable()]
    public partial class MB_User : EntityBase
    {
        public MB_User()
        {
            TableName = "MB_User";
            //IdentityName = "标识字段名";
            IdentityName = "UID";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("UID");


            PropertyNames = new string[] { "UID", "Email", "Password", "UserName", "Sex", "Age", "EmploymentCode", "Phone", "Mobile", "ProductNumber", "RegTime", "ActiveTime", "State", "LastLogonTime", "LogonTimes", "AgeDate", "CertificateType", "CertificateID", "ZHXGRQ", "Birthday", "BindMobile" };
            PropertyValues = new object[PropertyNames.Length];
        }


        /// <summary>
        /// 
        /// </summary>
        public System.Int32 UID
        {
            get { return getProperty<System.Int32>("UID"); }
            set { setProperty("UID", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Email
        {
            get { return getProperty<System.String>("Email"); }
            set { setProperty("Email", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Password
        {
            get { return getProperty<System.String>("Password"); }
            set { setProperty("Password", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String UserName
        {
            get { return getProperty<System.String>("UserName"); }
            set { setProperty("UserName", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Sex
        {
            get { return getProperty<System.String>("Sex"); }
            set { setProperty("Sex", value, 1); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 Age
        {
            get { return getProperty<System.Int32>("Age"); }
            set { setProperty("Age", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String EmploymentCode
        {
            get { return getProperty<System.String>("EmploymentCode"); }
            set { setProperty("EmploymentCode", value, 10); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Phone
        {
            get { return getProperty<System.String>("Phone"); }
            set { setProperty("Phone", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String Mobile
        {
            get { return getProperty<System.String>("Mobile"); }
            set { setProperty("Mobile", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String ProductNumber
        {
            get { return getProperty<System.String>("ProductNumber"); }
            set { setProperty("ProductNumber", value, 40); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime RegTime
        {
            get { return getProperty<System.DateTime>("RegTime"); }
            set { setProperty("RegTime", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime ActiveTime
        {
            get { return getProperty<System.DateTime>("ActiveTime"); }
            set { setProperty("ActiveTime", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String State
        {
            get { return getProperty<System.String>("State"); }
            set { setProperty("State", value, 5); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime LastLogonTime
        {
            get { return getProperty<System.DateTime>("LastLogonTime"); }
            set { setProperty("LastLogonTime", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 LogonTimes
        {
            get { return getProperty<System.Int32>("LogonTimes"); }
            set { setProperty("LogonTimes", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime AgeDate
        {
            get { return getProperty<System.DateTime>("AgeDate"); }
            set { setProperty("AgeDate", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String CertificateType
        {
            get { return getProperty<System.String>("CertificateType"); }
            set { setProperty("CertificateType", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String CertificateID
        {
            get { return getProperty<System.String>("CertificateID"); }
            set { setProperty("CertificateID", value, 50); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime ZHXGRQ
        {
            get { return getProperty<System.DateTime>("ZHXGRQ"); }
            set { setProperty("ZHXGRQ", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime Birthday
        {
            get { return getProperty<System.DateTime>("Birthday"); }
            set { setProperty("Birthday", value); }
        }

        /// <summary>
        /// 
        /// </summary>
        public System.String BindMobile
        {
            get { return getProperty<System.String>("BindMobile"); }
            set { setProperty("BindMobile", value, 10); }
        }



     
    }
}
